package jp.ac.aiit.spg.dao;

import java.util.List;
import jp.ac.aiit.spg.entity.*;

public interface SpgProjectDao {

	// Basic Operations 
	SpgProject find(Integer id);
	SpgProject getReference(Integer id);
	void persist(SpgProject sp);
	void remove(SpgProject sp);
	SpgProject merge(SpgProject sp);
	void refresh(SpgProject sp);
	void readLock(SpgProject sp);
	void writeLock(SpgProject sp);
	
	// Additional Operations
	List<SpgProject> findAll();
	List<SpgProject> findAll(String orderBy);
	SpgProject findByName(String name);
	
}
